package com.bz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("system_user_role")
public class UserRoleEntity extends BaseDto {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long              userId;

    /**
     * 角色ID
     */
    @TableField("role_id")
    private Long              roleId;

    @TableField(exist = false)
    private String            roleCode;
}
